

public class MVCTemperatureConverter {
	
	public static void main(String args[]) {
		
		TemperatureModel temperature = new TemperatureModel();
		TemperatureController controller = new TemperatureController(temperature);
		
		temperature.addObserver(new SliderCelsiusGUI(controller, 0, 0));
		temperature.addObserver(new SliderFahrenheitGUI(controller, 100, 80));
		
		temperature.addObserver(new GraphGUI(controller, 200, 160));
		
		temperature.addObserver(new FahrenheitGUI(controller, 300, 240));
		temperature.addObserver(new CelsiusGUI(controller, 400, 320));
		temperature.addObserver(new KelvinGUI(controller, 500, 400));
		
		temperature.setC(0);
	}
}
